]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Only rebuild keyboard actor on keyboard type changes
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 23 Jul 2017 11:51:11 +0000 (13:51 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sun, 23 Jul 2017 14:06:04 +0000 (16:06 +0200)
commit08ad345f234ae7af4798da9aa60c35f37208d02f
tree075033bc14d92f9f340555cdd17df8a57b4c3cd6
parent775d77bf6dd4bd93e6afa5639f4972df89f92940
keyboard: Only rebuild keyboard actor on keyboard type changes

About every other situation can do with synchronizing keyboard visibility,
and keyboard layout changes are already handled internally in the Keyboard
object.

A downside of this approach is that once created, there will always be a
Keyboard instance and its full actor hierarchy. Seems reasonable to do that
since we can't tell it won't ever be needed.

https://bugzilla.gnome.org/show_bug.cgi?id=785309
js/ui/keyboard.js